<?php


namespace App\Modules\Health\Http\Controllers\Api;


use App\Http\Controllers\Api\Controller;
use App\Modules\Health\Models\Breathe;
use Illuminate\Http\Request;

class BreatheController extends Controller
{
    public function index()
    {
        $list = Breathe::query()->where('status', '=', true)->paginate();

        return $this->_success([
            'list' => $list->items()
        ]);
    }
}
